Skip to content

Diagnose fenced JSON offline and remove placeholder paths from v3 prompt - #13

Merged
eluan216 merged 2 commits into
mainfrom
fenced-json-revalidation
Nov 8, 2026
Merged

eluan216 merged 2 commits into
mainfrom
fenced-json-revalidation

Conversation

@eluan216

@eluan216 eluan216 commented Nov 8, 2026

Copy link
Copy Markdown
Owner

The user reports 45 v2 final JSON-format errors and one output-limit error. The supplied response is fenced JSON and copies package/file.py from our schema example. This adds opt-in single-fence normalization with exact-source checks unchanged, and a CPU-only revalidation tool that preserves originals and exports only the final saved response, never the best retry.

Legacy v2 keeps strict parsing by default. A separate v3 runner/notebook uses a schema description without placeholder paths and explicitly grounds edits in pre-fix source headers. No new GPU run is needed to inspect saved v2 responses. Tests cover fences with outside prose, malformed/multiple fences, fabricated source/path rejection, source application, and post-hoc final-step selection and original-file preservation. No improvement or repaired task is claimed.

@eluan216
eluan216 merged commit 85435c1 into main Nov 8, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant